package com.framework;

import lombok.Data;

@Data
class UserRegistrationRequest {
    @ValidateRule(type = "REQUIRED")
    private String username;
    
    @ValidateRule(type = "PASSWORD")
    private String password;
    
    @ValidateRule(type = "EMAIL")
    private String email;
    
    @ValidateRule(type = "DATE")
    private String birthDate;
    
    @ValidateRule(type = "FILE", max = 1024 * 1024) // 1MB
    private FileInput profileImage;
}
